<template>
    <div class="miaosha">
        <span>{{msg}}</span>
        <span class="hour">8</span><div>点场</div>
        <span></span>
        <div class="djs">
            <count-down :currentTime="1481450000" :startTime="1481450000" :endTime="1481453600"  :hourTxt="' : '" :minutesTxt="' : '" :secondsTxt="''"></count-down>
        </div>
        <div class="list-topr">爆款轮番秒<span>></span></div>
        
    </div>
</template>
<script>
import CountDown from 'vue2-countdown'
export default {
    name: "MiaoSha",
    data() {
        return {
            msg: "京东秒杀"
        }
    },
    components:{
        CountDown
    },
    
}
</script>
<style lang="less">
.miaosha{
    display: flex;
    width: 355px;
    height: 34px;
    align-items: center;
    background-color: white;
    position: relative;
    span{
        padding: 2px 2px;
        font-size: 12px;
    }
    div{
        font-size: 12px;
    }
    .hour{
        color: #FB3C2A;
    }
    .djs{
        color: #FB3C2A;
        font-size: 12px;
        span{
            background-color: #FB3C2A;
            border-radius: 4px;
            color: white;
            
        }
    }
    .list-topr{
    position: absolute;
    right: 5px;
    span{
        background-color: #FB3C2A;
        padding: 0 4px;
        border-radius: 50%;
    }
}
}
</style>